home *** CD-ROM | disk | FTP | other *** search
- /* Makelink von der Workbench aus (mit ToolManager) */
-
- parse arg Para
-
- if para = "" then do
- rtezrequest("Parameterangabe fehlt")
- exit
- end
-
- Trenn = lastpos("/", Para)
- if Trenn = 0 then Trenn = lastpos(":", Para)
-
- SrcPfad = Left(Para, Trenn)
- if pos('"', SrcPfad) =1 then SrcPfad = substr(SrcPfad, 2)
- SrcName = Right(Para, Length(para) -Trenn)
- if pos('"', SrcName) = length(SrcName) then SrcName = substr(SrcName, 1, length(ScrName)-1)
-
- LinkName = rtfilerequest(SrcPfad,SrcName,"Bitte Namen des Links angeben", "Link anlegen")
-
- address command 'makelink' '"' || LinkName || '"' Para 'force'
-